import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter)
const main = () => import('../src/views/main')
const routes = [
  {
    path: '',
    redirect: '/main'
  },
  {
    path: '/main',
    component:main
  }
]
const router = new VueRouter({
  routes,
  mode: 'hash'
})

export default router
